<!DOCTYPE html><html><head><title>实时战力变动原因流水</title><meta charset='utf-8'><link href='https://dn-maxiang.qbox.me/res-min/themes/marxico.css' rel='stylesheet'><style></style></head><body><div id='preview-contents' class='note-content'>
                        
                    



<h3 id="实时战力变动原因流水">实时战力变动原因流水</h3>

<blockquote>
  <p>共 <code>initParam</code> <code>search</code> 两个接口</p>
</blockquote>

<hr>

<h3 id="initparam"><code>initParam</code></h3>

<p><strong>接口说明</strong> </p>

<pre class="prettyprint hljs-dark"><code class="hljs">下拉列表初始化<br></code></pre>

<p><strong>URL</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs awk">http:<span class="hljs-regexp">//</span><span class="hljs-number">115.159</span>.<span class="hljs-number">207.95</span>:<span class="hljs-number">8080</span><span class="hljs-regexp">/fightValueChange/i</span>nitParam.<span class="hljs-keyword">do</span><br></code></pre>

<p><strong>请求参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs">无<br></code></pre>

<p><strong>返回参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs clojure">{<br>    res: <span class="hljs-number">0</span>,<br>    <span class="hljs-string">"channelItmes"</span>: [{<span class="hljs-string">"渠道1"</span>:<span class="hljs-string">"201"</span>},{<span class="hljs-string">"渠道2"</span>:<span class="hljs-string">"202"</span>}, ...]<br>    <span class="hljs-string">"serverItmes"</span>: [{<span class="hljs-string">"区服1"</span>:<span class="hljs-string">"201"</span>},{<span class="hljs-string">"区服2"</span>:<span class="hljs-string">"202"</span>}, ...]<br>    <span class="hljs-string">"platformItmes"</span>: [{<span class="hljs-string">"平台1"</span>:<span class="hljs-string">"201"</span>},{<span class="hljs-string">"平台2"</span>:<span class="hljs-string">"202"</span>}, ...]<br>    <span class="hljs-string">"fightChangeList"</span>: [{<span class="hljs-string">"类型1"</span>:<span class="hljs-string">"201"</span>},{<span class="hljs-string">"类型2"</span>:<span class="hljs-string">"202"</span>}, ...]<br><br>}<br></code></pre>

<hr>

<h3 id="search"><code>search</code></h3>

<p><strong>接口说明</strong> </p>

<pre class="prettyprint hljs-dark"><code class="hljs">返回请求的战力变动原因流水数据<br></code></pre>

<p><strong>URL</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs awk"> http:<span class="hljs-regexp">//</span><span class="hljs-number">115.159</span>.<span class="hljs-number">207.95</span>:<span class="hljs-number">8080</span><span class="hljs-regexp">/fightValueChange/</span>search.<span class="hljs-keyword">do</span><br></code></pre>

<p><strong>请求参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs cs"><span class="hljs-number">1.</span> <span class="hljs-keyword">params</span> = <br>    {<br>         <span class="hljs-string">"dateStart"</span>:<span class="hljs-string">"2017-04-02"</span>,<br>         <span class="hljs-string">"dateEnd"</span>:<span class="hljs-string">"2017-05-02"</span>,<br>         <span class="hljs-string">"userid"</span>:<span class="hljs-string">"xxxx"</span>,<br>         <span class="hljs-string">"roleid"</span>:<span class="hljs-string">"xxxx"</span>,<br>         <span class="hljs-string">"platform"</span>:<span class="hljs-string">"xxxx"</span>,<br>         <span class="hljs-string">"channel"</span>:<span class="hljs-string">"xxxx"</span>,<br>         <span class="hljs-string">"serverid"</span>:<span class="hljs-string">"xxxxx"</span>,<br>         <span class="hljs-string">"changeType"</span>:<span class="hljs-string">"xxxxx"</span>    <span class="hljs-comment">//类型</span><br>     }<br></code></pre>

<p><strong>返回参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs lasso">{<br>    res: <span class="hljs-number">0</span>,<br>    <span class="hljs-built_in">data</span>: <br>    <span class="hljs-meta">[</span><br>        {<br>            logtime,     <span class="hljs-comment">//时间</span><br>            platform,    <span class="hljs-comment">//平台</span><br>            channel,     <span class="hljs-comment">//渠道</span><br>            serverid,    <span class="hljs-comment">//区服</span><br>            userid,      <span class="hljs-comment">//用户ID</span><br>            roleid,      <span class="hljs-comment">//角色ID</span><br>            rolelevel,   <span class="hljs-comment">//角色等级</span><br>            <span class="hljs-keyword">type</span>,        <span class="hljs-comment">//类型</span><br>            tid,         <span class="hljs-comment">//名称</span><br>            action,      <span class="hljs-comment">//操作</span><br>            cur_fightingcapacity - old_fightingcapacity , <span class="hljs-comment">//更换后战力变动值</span><br>            old_fightingcapacity,  <span class="hljs-comment">//变动前战力</span><br>            cur_fightingcapacity   <span class="hljs-comment">//变动后战力</span><br>         }, <span class="hljs-params">...</span> <br>    <span class="hljs-meta">]</span><br>}<br></code></pre></div></body></html>